<template>
 <div>
    <img :src="item.img" alt="">
        <p>{{item.title}}</p>
        <p>
          <span>￥{{item.price}}</span>
          <slot name='jia'></slot>
        </p>
        <p>
          <span v-if="item.num">数量：{{item.num}}</span>
        </p>
 </div>
</template>

<script>
export default {
  props:{
    item:Object
  }
}
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss">

</style>
